package com.itheima;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.exception.CheckItemException;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    void addCheckItem(CheckItem checkItem);

    void deleteCheckItem(Integer id)throws CheckItemException;

    CheckItem queryCheckItemById(Integer id);

    void updateCheckItem(CheckItem checkItem);

    List<CheckItem> queryAllCheckItem();

}
